﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Default.ascx.cs" Inherits="admin_webparts_Plug_ins_User_Default" %>
<%@ Register Src="LeftMenu.ascx" TagName="LeftMenu" TagPrefix="uc1" %>

<script type="text/javascript"> YAHOO.util.Event.onDOMReady(function() {    window.resizeCustomContent = function() {        var oDom = YAHOO.util.Dom;                oDom.setStyle('<%=contentCont.ClientID %>', 'min-height', '1px');                var divHeaderTip = oDom.get('divHeaderTip');        var oParent = divHeaderTip.parentNode;        var padding = parseInt(oDom.getStyle(oParent, 'padding-top')) + parseInt(oDom.getStyle(oParent, 'padding-bottom'));        var parentHeight = oParent.clientHeight;        var divHeaderTipHeight = parseInt(oDom.getStyle(divHeaderTip, 'padding-top'))                 + parseInt(oDom.getStyle(divHeaderTip, 'padding-bottom'))                + divHeaderTip.clientHeight;
        if(divHeaderTip.style.borderTopWidth != '') {            divHeaderTipHeight += parseInt(divHeaderTip.style.borderTopWidth) ;        }
        if(divHeaderTip.style.borderBottomWidth != '') {            divHeaderTipHeight += parseInt(divHeaderTip.style.borderBottomWidth);
        }
        if(oDom.getStyle(divHeaderTip, 'margin-top') && oDom.getStyle(divHeaderTip, 'margin-top') != 'auto') {
            divHeaderTipHeight += parseInt(oDom.getStyle(divHeaderTip, 'margin-top')) ;
        }
        if(oDom.getStyle(divHeaderTip, 'margin-bottom') && oDom.getStyle(divHeaderTip, 'margin-bottom') != 'auto') {
            divHeaderTipHeight += parseInt(oDom.getStyle(divHeaderTip, 'margin-bottom'));
        }
        if (oDom.getStyle('<%=contentCont.ClientID %>', 'min-height') != '' + (parentHeight - padding - 8 - divHeaderTipHeight) + 'px') {            oDom.setStyle('<%=contentCont.ClientID %>', 'min-height', '' + (parentHeight - padding - 8 - divHeaderTipHeight) + 'px');        }    }        window.windowonresize = window.onresize;    window.onresize = function(){        if (typeof window.windowonresize == 'function') {            window.windowonresize();        }        window.resizeCustomContent();    };    window.onresize();});

</script> 

<div id="divHeaderTip" style="margin-left: 0px; margin-bottom: 10px;">
    <div class="tip">
	    <h1 style="left: 0px; position: relative;">Quản lý thông tin người dùng</h1>
        <div style="display: block; width: 32px; height: 32px; float: right; position: relative; top: -27px;"><a title="Click vào đây để quay lại." href="?type=page"><img src="resources/images/Back.png" alt=""></a></div>
    </div>
</div>
<div style="float: left; width: 170px;">
    <uc1:LeftMenu ID="LeftMenu1" runat="server" />
</div>
<div style="margin-left: 180px;border: solid 1px #89D; padding: 3px;" id="contentCont" runat="server">
</div>